package com.numberone.master.modules.rsa.entity;

import org.hibernate.validator.constraints.Length;

import com.numberone.master.common.persistence.DataEntity;

/**
 * ip地址Entity
 * @author ck
 * @version 2018-03-01
 */
public class Ips extends DataEntity<Ips> {
	
	private static final long serialVersionUID = 1L;
	private String ip;		// ip
	
	public Ips() {
		super();
	}

	public Ips(String id){
		super(id);
	}

	@Length(min=0, max=30, message="ip长度必须介于 0 和 30 之间")
	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}
	
}